<?php
declare (strict_types = 1);

namespace app\outh\controller;



use thans\jwt\facade\JWTAuth;

class Login
{
    //
    public function login(){
        return json(['token' => JWTAuth::builder(['user_id' => 1])]);//参数为用户认证的信息，请自行添加];
    }
}
